package com.mei.demo.enums;

public enum CommonResultCode {

    SUCCESS("01", "操作成功"),

    FAIL("02", "操作成功"),

    DATA_NOT_EXIST("03", "数据不存在"),

    ;

    private String code;

    private String desc;

    private CommonResultCode(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * @return the code
     */
    public String getCode() {
        return this.code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return the desc
     */
    public String getDesc() {
        return this.desc;
    }

    /**
     * @param desc the desc to set
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

}
